package com.zz.kt.client.order;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-order")
public interface OrderInfoFeignClient {
    //查询是否购买课程
    @ApiOperation(value = "获取")
    @GetMapping("/api/order/orderInfo/selectStatus/{userId}/{courseId}")
    public Boolean selectStatus(@PathVariable Long userId, @PathVariable Long courseId);
}
